home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Technotools
/
Technotools (Chestnut CD-ROM)(1993).ISO
/
lang_asm
/
zendisk1
/
lst8-4.asm
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Assembly Source File
|
1990-02-15
|
290 b
|
19 lines
;
; *** Listing 8-4 ***
;
; Tests the zero/non-zero status of a variable via
; the accumulator-specific form of MOV followed by a
; register-register AND.
;
jmp Skip
;
TestValue dw ?
;
Skip:
call ZTimerOn
rept 1000
mov ax,[TestValue]
and ax,ax
endm
call ZTimerOff